package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.dto.OrderInfoDto;
import com.itheima.pojo.Order;
import com.itheima.vo.OrderInfoVo;

import java.util.Map;

/**
 * @author ：yuanjian
 * @date ：Created in 2020/11/17 16:59
 * @description：
 */
public interface OrderService extends IService<Order> {
//    Order add(Map map);

    Object addOrder(OrderInfoDto orderInfoDto);

    OrderInfoVo findOrderInfo(Long orderId);

    void updateStatus(String orderNo);

    String isPay(String orderNo);

    Integer selectPayStatusById(Long orderId);

    void deleteOrderById(long id);

    Map findsetmeal();
}
